# Create your views here.
from django.shortcuts import get_object_or_404, render_to_response
from django.template import RequestContext
from pages.models import Page

def show(request, slug='home'):
    page = get_object_or_404(Page, slug=slug)
    context = { 'page' : page }
    return render_to_response('pages/show.html', context,
            context_instance=RequestContext(request))

